<%
    Integer login = (Integer) session.getAttribute("login");
    if (login == null){
        response.sendRedirect("index.jsp");
        return; 
    }
%>